import Vue from 'vue';
import App from './App.vue';
import router from './router';
import './router/permission';
import store from './store';
import 'element-ui/lib/theme-chalk/index.css';
import '@/assets/scss/style.less';
import '@/assets/scss/index.less';
import '@/assets/scss/font.css';
import './ImportElement';
import './custom.css';
import '@/components';
import 'default-passive-events';
import VueVideoPlayer from 'vue-video-player';
import 'video.js/dist/video-js.css';
Vue.use(VueVideoPlayer);
import hls from 'videojs-contrib-hls'; // 引入才能播放m3u8文件
Vue.use(hls);
Vue.prototype.$ENVGeoServer = process.env.NODE_ENV === 'production' ? 'http://8.136.236.190:30000/geoserver' : 'http://10.0.13.90:8085/geoserver';

Vue.config.productionTip = false;
new Vue({
  router,
  store,
  render: (h) => h(App)
}).$mount('#app');
